

<template>
  <el-row :tag='textObj.textNode ? textObj.textNode : "p"' :style="textObj.styles ? textObj.styles : {}" v-html='textObj.text'></el-row>
</template>
<script>
import { defineComponent } from 'vue';
import { ElRow } from 'element-plus';
export default defineComponent({
  props: {
    textObj: {
      type: Object,
    },
  },
  components: {
    ElRow,
  },
  setup(props) {
    let textObj = props.textObj;
    return textObj;
  },
});
</script>
